using Common.Framework.Core.Common;
using VehicleModule.Api.Model;
using System.Threading.Tasks;
	
namespace VehicleModule.Api.Service
{
    /// <summary>
    ///车辆实时数据表 Service
    /// </summary>
    public interface IRealtimedataService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<ServiceResult> CreateAsync(RealtimedataCreateRequest request);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<ServiceResult> DeleteAsync(IdRequest request);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<ServiceResult> UpdateAsync(RealtimedataUpdateRequest request);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<ServiceResult> GetAsync(IdRequest request);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<ServiceResult<RealtimedataGetListResponse>> GetListAsync(RealtimedataGetListRequest request);
    }
}
